{include file="public/same_header" /}


        <!-- 右侧的开始 -->
        <div class="right_bar jianchajilu hou_huanzheguanli hou_yonghuguanli zhanghaoguanli">
            {include file="public/go_back" /}
            <div class="jcjl_detail">
                <div class="top_dec">
                    <div>
                        <span class="theme">{$breadcrumb}</span>
                        <strong>共{$count}位用户</strong>
                        <div class="search_box">
                            <form method="get" action="">
                            <div class="sou_box">

                                <input type="text" name="name" value="{$name}" placeholder="输入姓名或者登录账号">
                                <input type="submit" value="" class="sou_btn">
                            </div>
                            </form>
                            <div  class="btn-permission" style="float:right;">
                            <em><a href="{:url('authority/add_admin')}">新建账号</a></em>
                                </div>
                        </div>
                    </div>
                </div>
                    <div class="data">
                            {if condition="$list"}
                        <!-- 下面的   列表 开始  -->
                        <div class="liebiao">

                            <div class="liebiao_dec">
                                <div class="liebiao_top">
                                    <strong class="first">登录账号</strong>
                                    <strong class="second">姓名</strong>
                                    <strong class="third">所属部门</strong>
                                    <strong class="forth">角色名称</strong>
                                    <strong class="fifth">添加时间</strong>
                                    <strong class="sixth">操作</strong>
                                </div>
                                <ul>
                                    {foreach name="list" item="v"}
                                    <li>
                                            <span class="first">
                                                <em>{$v['admin_name']}</em>
                                            </span>
                                            <span class="second">
                                                <em>{$v['name']}</em>
                                            </span>
                                            <span  class="third">
                                                <em>{$v['depart_name']}</em>
                                            </span>
                                            <span  class="forth">
                                                <em>{$v['rolename']}</em>
                                            </span>
                                            <span class="fifth">
                                                {$v['create_time']}
                                            </span>
                                            <span class="sixth">
                                                <a class="btn-permission" href="{:url('authority/edit_admin',array('id'=>$v['admin_id']))}">编辑</a>
                                                 <a  class="a-post" post-msg="你确定要删除吗" post-url="{:url('authority/del_admin',array('id'=>$v['admin_id']))}">
                                                     <input type="button" class="btn-permission" value="删除">
                                                 </a>
                                            </span>
                                    </li>
                                    {/foreach}

                                </ul>
                            </div>
                        </div>
                        <!-- 列表的结束 -->
                        {else/}
                        暂无记录
                        {/if}



                    </div>
            </div>
        </div>
        <!-- 右侧的结束 -->
    </div>
</div>
{include file="public/footer" /}